Transferito\Controllers\Transfer D

Total Complexity 258
Dependencies 10
Dependents 0
Total lines 3,127
Lines of code 1,574
Logical lines of code 837
Comment lines 1,035
Methods 51
Properties 6

Methods 51

Method Rating Maintainability Complexity Lines of code
prepareDownload()
D
21
40 206
prepareLocalDownload()
B
31 11 133
archiveProgressCheck()
A
39 12 58
cleanUp()
A
40 9 60
wpSiteCheck()
A
44 9 41
startMigration()
A
41 8 53
cPanelCheck()
A
42 7 54
checkSiteWithinFreeTier()
A
51 8 29
switchMode()
A
46 7 36
checkArchiveCompletion()
A
54 8 20
getDirectoryCheckUpdate()
S
52 7 24
serverDetailValidation()
S
47 6 35
screenRouting()
S
43 5 49
cpanelAuthentication()
S
44 5 42
chunkedDBExport()
S
52 6 25
addFilesToCodebase()
S
52 6 23
statusCheck()
S
53 6 21
databaseValidation()
S
48 5 33
getFTPDirectories()
S
50 5 28
disableAutoPrependOption()
S
52 5 24
areAPIKeysValid()
S
54 5 21
completeUpload()
S
47 4 36
archiveCompletionResponse()
S
49 4 34
enableAutoPrependOption()
S
57 5 17
enableWPObjectCache()
S
57 5 17
purgeDirectory()
S
57 4 18
uploadChunk()
S
48 3 32
__construct()
S
43 2 46
disableWPObjectCache()
S
58 4 15
initiateUpload()
S
50 3 29
prepareCodebase()
S
53 3 22
checkPremiumApiKeys()
S
54 3 21
startDirectoryCheck()
S
55 3 20
prepareDatabase()
S
55 3 19
codebaseArchiveComplete()
S
55 3 19
chooseMigrationMethod()
S
55 3 19
freshStart()
S
61 3 14
archiveDBExport()
S
61 3 12
removeTransferitoTransients()
S
48 1 38
directoryValidation()
S
54 2 20
archiveCreation()
S
56 2 17
databaseExportComplete()
S
58 2 15
databaseRelocationCheck()
S
60 2 13
checkArchiveError()
S
66 2 8
databaseRelocation()
S
64 2 9
removeDBImportDirectory()
S
68 2 7
loadDirectoryTemplate()
S
60 1 14
sendRequestForm()
S
65 1 9
getFileParts()
S
65 1 9
hideQuickStart()
S
75 1 4
logEvent()
S
70 1 6